package com.py.credit.entity;


import com.py.framework.core.entity.BaseEntity;

import io.swagger.annotations.ApiModelProperty;

/**
 * 区域实体
 * @author Leegern
 * @date   2018年4月20日
 */
public class AreaEntity extends BaseEntity {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 8865128987839484619L;
	/** 区域名称 **/
	@ApiModelProperty(value = "区域名称")
	private String areaName;
	/** 区域编码 **/
	@ApiModelProperty(value = "区域编码")
	private String areaCode;
	/** 父节点ID **/
	@ApiModelProperty(value = "父节点ID")
	private long parentId;
	/** 所有父节点 **/
	@ApiModelProperty(value = "所有父节点")
	private String allParentId;
	/** 排序 **/
	@ApiModelProperty(value = "排序")
	private int orderBy;
	
	/** 父节点名称 **/
	@ApiModelProperty(value = "父节点名称")
	private String parentAreaName;
	
	/**
	 * @return the areaName
	 */
	public String getAreaName() {
		return areaName;
	}
	/**
	 * @param areaName the areaName to set
	 */
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	/**
	 * @return the areaCode
	 */
	public String getAreaCode() {
		return areaCode;
	}
	/**
	 * @param areaCode the areaCode to set
	 */
	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}
	/**
	 * @return the parentId
	 */
	public long getParentId() {
		return parentId;
	}
	/**
	 * @param parentId the parentId to set
	 */
	public void setParentId(long parentId) {
		this.parentId = parentId;
	}
	/**
	 * @return the allParentId
	 */
	public String getAllParentId() {
		return allParentId;
	}
	/**
	 * @param allParentId the allParentId to set
	 */
	public void setAllParentId(String allParentId) {
		this.allParentId = allParentId;
	}
	/**
	 * @return the orderBy
	 */
	public int getOrderBy() {
		return orderBy;
	}
	/**
	 * @param orderBy the orderBy to set
	 */
	public void setOrderBy(int orderBy) {
		this.orderBy = orderBy;
	}
	/**
	 * @return the parentAreaName
	 */
	public String getParentAreaName() {
		return parentAreaName;
	}
	/**
	 * @param parentAreaName the parentAreaName to set
	 */
	public void setParentAreaName(String parentAreaName) {
		this.parentAreaName = parentAreaName;
	}
}